Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Removed the FeeProvider context and associated logic from the application. - Updated components to directly use the new `useQuoteData` hook for fetching fee quotes. - Adjusted the `SwapForm`, `FeeDetailsComponent`, and related components to accommodate the new fee handling approach. - Enhanced the `DetailedEstimates` component to accept quote data directly, improving data flow and reducing unnecessary context dependencies. - Cleaned up imports and ensured all components are aligned with the new structure.
…s FRONT-876 FRONT-879
…ay logic - Replaced the deprecated FeeDetailsComponent with a new QuoteDetails component that utilizes an accordion for better UI/UX. - Integrated detailed fee calculations and display, including gas fees in USD and formatted fee amounts. - Updated the SwapForm to use the new QuoteDetails component, ensuring seamless integration with existing functionality. - Cleaned up imports and improved overall code structure for maintainability.
…orrect gas payment handling
…ollapsableHeader components to utilize resolveTokenLogoUrl utility for improved consistency and maintainability.
Bring route picker and fee fetching mechanism from layerswap, resolves FRONT-876 FRONT-879
Bring Address class to TRAIN, resolves FRONT-877
…remove duplicates
…s, and Details components to utilize NetworkSettings for improved maintainability and consistency.
Improve login logic, improve ui and handle the custom chain flow in login
…improve structure. Introduce TokenBalanceError type for better error management, update BalanceProvider for improved balance fetching, and streamline WalletProvider with new SelectAccountProps. Remove unused CurrencyFormField and NetworkFormField components for cleaner codebase.
Refactor explorer templates
Fix selector trigger roundness
…ngs and LayerSwapSettings. Update Network and Route components to use new TrainAppSettings and TrainSettings. Adjust RoutePicker and related components for compatibility with the new structure.
…nd functionality. Update VaulDrawer to support 'fitHeight' mode, enhance snap point handling, and streamline rendering logic. Adjust SummaryRow styles for cleaner layout.
… improve code clarity. Update createPreHTLC to createHTLC, add rewardRecipient and rewardToken fields in Commit type, and streamline AtomicChat actions by removing unused components and adjusting state management for better handling of solver locks and refunds.
Fix Vaul opening animation
Update Solana contract
- Split read-only clients (sync useMemo via createHTLCClient) from write clients (async useEffect requiring wallet) in atomicContext; polling hooks now use read-only clients so they never carry a stale client from a previous swap/chain - Fix Solana recoverSwap: use Anchor EventParser for correct program attribution; fix all field accesses to snake_case (Anchor 0.30 preserves field names as-is); add null-guard in getUserLockDetails for non-Base58 contract addresses - Wrap getWalletClient in silent try-catch in useHTLCWriteClient to handle wagmi reconnection race condition (connector not ready yet) - Add Starknet Sepolia to NetworkSettings.KnownSettings with explorer URLs - Add mock quote for Starknet source chains in useFee.ts - RecoverSwap: use all networks (drop hardcoded filter), extract isValidTxHash helper, increase dropdown height, add styled-scroll Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ed data integrity
Record<caip2Id, IHTLCClient> map. Each network's client is managed by its own effect, resolving staleness per-network and naturally sharing one client when source and destination are on the same chain. Also removes the resolveClient wrapper indirection and adds the isProvidersReady guard to prevent creating write clients before wagmi reconnection completes
Implement recoverSwap functions, resolves FRONT-900
…ed on input values
…ackend is unavailable; commented out API client calls and related logic for improved testing.
…g, getters, and atomic operations, to streamline the codebase.
Dev picker updates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.